<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>animation</title>
    <style>
        .box{
            width: 200px;
            height: 200px;
            background: #f7ca44;
            margin: 50px auto;
            animation: myAnimationTwo 1s ease;
        }
        @keyframes myAnimationOne {
            from{
                transform: scale(1,1);
            }
            to{
                transform: scale(1.5,1.5);
            }
        }
        @keyframes myAnimationTwo {
            0%{
                transform: scale(1,1);
            }
            50%{
                transform: scale(1.5,1.5);
            }
            100%{
                transform: scale(1,1);
            }
        }
    </style>
</head>
<body>
<div class="box">

</div>
</body>
</html>